USE DB_TCC
IF EXISTS(SELECT 1 FROM SYSOBJECTS WHERE NAME LIKE 'P_EXPERIENCIA_CONSULTAR')
	DROP PROCEDURE P_EXPERIENCIA_CONSULTAR
GO
CREATE PROCEDURE P_EXPERIENCIA_CONSULTAR(
	@IDEXPERIENCIA INTEGER)
AS BEGIN
	SELECT
		IDEXPERIENCIA,
		IDCURRICULO,
		PAIS,
		UF,
		PORTE,
		SEGMENTO,
		CARGO,
		DESCATIVIDADES,
		DTINICIO,
		DTFIM,
		DTHRINCLUSAO,
		DTHRALTERACAO
	FROM
		EXPERIENCIA
	WHERE
		IDEXPERIENCIA = @IDEXPERIENCIA
END